package com.dating.libs.web.services.datingservice;

import java.util.Hashtable;
import org.ksoap2.serialization.PropertyInfo;
import org.ksoap2.serialization.SoapObject;

public final class FbInterest extends SoapObject {
    private java.lang.String name;

    private java.lang.String category;

    private java.lang.String id;

    public FbInterest() {
        super("", "");
    }
    public void setName(java.lang.String name) {
        this.name = name;
    }

    public java.lang.String getName(java.lang.String name) {
        return this.name;
    }

    public void setCategory(java.lang.String category) {
        this.category = category;
    }

    public java.lang.String getCategory(java.lang.String category) {
        return this.category;
    }

    public void setId(java.lang.String id) {
        this.id = id;
    }

    public java.lang.String getId(java.lang.String id) {
        return this.id;
    }

    public int getPropertyCount() {
        return 3;
    }

    public Object getProperty(int __index) {
        switch(__index)  {
        case 0: return name;
        case 1: return category;
        case 2: return id;
        }
        return null;
    }

    public void setProperty(int __index, Object __obj) {
        switch(__index)  {
        case 0: name = (java.lang.String) __obj; break;
        case 1: category = (java.lang.String) __obj; break;
        case 2: id = (java.lang.String) __obj; break;
        }
    }

    public void getPropertyInfo(int __index, Hashtable __table, PropertyInfo __info) {
        switch(__index)  {
        case 0:
            __info.name = "name";
            __info.type = java.lang.String.class; break;
        case 1:
            __info.name = "category";
            __info.type = java.lang.String.class; break;
        case 2:
            __info.name = "id";
            __info.type = java.lang.String.class; break;
        }
    }

}
